﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OAuth2.Framework;
using OAuth2.Provider.Domain;

namespace OAuth2.Provider.IService
{
    public interface IClientService
    {

        bool AuthenticateClient(IOAuthContext context);

        bool ValidDateRedirectUri(IOAuthContext context);

        bool IsClient(IOAuthContext context);

        IClient FindClient(string clientID);

        bool IsAccessGranted(IClient client, string[] scope, string resourceOwnerID);

    }
}
